<?php
declare (strict_types=1);

namespace app\mall\event\subscribes;

use app\mall\event\listeners\Sale as SaleListeners;
use think\Event;


class Sale
{
    public function subscribe(Event $event)
    {
        // 添加引入
        $event->listen('AfterSale', SaleListeners::class);
    }
}